<?php

namespace app\common\model\room\department;


use app\common\model\BaseModel;
use app\common\model\Device;

/**
 * 科室设备记录模型
 * Class RoomDepartmentDeviceLog
 * @package app\common\model\room
 */
class RoomDepartmentDeviceLog extends BaseModel
{
    
    protected $name = 'room_department_device_log';
    
    public function device(){
        return $this->hasOne(Device::class,'id','device_id');
    }
    
}